package org.vectrics.recruiter.struts.admin;

import java.util.Properties;

import org.apache.log4j.Logger;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.jsp.JspException;



public class ShowCandidateNameAddAction extends Action {
    private transient static Logger log = Logger.getLogger(ShowCandidateNameAddAction.class);
	public static String CURRENT_JOB_KEY = "current-job";
    //public static String ACTION_NAME = "save_job";
    public static String JOB_PARAM = "id";    
    public static String ACTIVATE_PARAM = "activate";    
   

    public ShowCandidateNameAddAction() {
    	super();
    }


	public ActionForward execute(ActionMapping mapping,
			ActionForm form,
			HttpServletRequest request,
			HttpServletResponse response)	throws JspException {
		Properties invalidParams = new Properties();
        log.debug("execute() called, reading http parameters");
        
		if (invalidParams.size() == 0) {
			return (mapping.findForward("success"));
		}
		else {
			return (mapping.findForward("failure"));
			
		}
        
    }


    
}
